![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
This library has a set of helper classes and functions that are shared by our application following common patterns that we use on them. We mostly use MVC
, SOLID
and Observer Pattern
.
Wraps a callback to be executed, check if it is a valid function and execute without exceptions.
const {Callback} = require("ninja-util");
Callback.invoke(aCallback);
Wraps the http methods from the express and automatically set the response based on the callback invoked by the application
Examples:
const { ExpressWrapper } = require ('ninja-util');
TODO
Useful to logs the application to make easier to turn on and turn off logs.
TODO: document
const Memory = require("ninja-util/memory");
NOTE: Node only
Logs the memory from the node application
Example:
memory.checkMemory("now")
Posibble Output:
now 5.5186767578125
Example
console.log(memory.compreensiveBytes(42))
console.log(memory.compreensiveBytes(42000))
console.log(memory.compreensiveBytes(42000000))
Output:
42b
41.02kb
40.05mb
Returns the current footprint from the node application. If asNumber
is set true, it will return in a number as bytes. Otherwise, it will convert using the compreensiveBytes
, default is false.
Example:
memory.getCurrentMemory()
memory.getCurrentMemory(true)
Possible Output:
5.84mb
6244264
TODO
TODO
TODO
TODO
TODO
FAQs
Helper library to develop Node.JS applications
The npm package ninja-util receives a total of 40 weekly downloads. As such, ninja-util popularity was classified as not popular.
We found that ninja-util demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.